Repository navigation
test(fleet-dispatch): salvage dechunked_len huge-size probe from closed PR #7524 (task 14201) - #7978
Merged
developing-today[bot] merged 1 commit intoNov 9, 2026
Conversation
…ed PR #7524 (#6512) Re-applies the unique remainder of archive PR #7524: a characterization test pinning the unchecked arithmetic in dechunked_len on peer-declared chunk sizes usize::MAX and usize::MAX - 1, which panics in debug/test builds (issue #6512). Controls keep the existing pins and show dechunk() handles the same bytes safely. The probe's diagnostic println/catch_unwind reporting is normalized to assertions so the test carries an oracle; the checked-arithmetic fix in #6512 will trip it and update it deliberately. Closed PR #7524 was not reopened and its archive branch was not recreated.
developing-today
Bot
requested review from
a team and
dezren39
as code owners
November 9, 2026 05:36
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
developing-today
Bot
deleted the
queue/14201-7524-dispatch-dechunk-probe
branch
November 9, 2026 05:43
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Salvage follow-on for #7297 (queue task 14201), routed by triage task 13841.
Re-applies the unique remainder of closed archive PR #7524 (
archive/janitor-2026-11-07/probe-dispatch-dechunk-wt): theprobe_dechunked_len_huge_chunk_sizetest inpkgs/fleet/crates/fleet-dispatch/src/lib.rs, absent from current main. Nothing else is changed.Finding preserved. The test pins the unchecked arithmetic in
dechunked_lenon the peer-declared chunk size:ffffffffffffffff(usize::MAX) andfffffffffffffffe(usize::MAX - 1) overflowsize + 2and panic in debug/test builds. This is the exact evidence filed as #6512 ("dechunked_len does unchecked arithmetic on the peer-declared chunk size"), which remains open; the checked-arithmetic fix is Phase 3 of #6582 and is not part of this salvage.Normalization. The probe's diagnostic
println!/catch_unwindreport is expressed as assertions over the same two inputs so the test carries an oracle. The controls keep the existing pins (Some(9), incompleteNone) and showdechunk()handles the same bytes safely. The test deliberately pins the current overflow so the #6512 fix trips it and updates it.Verification (laptop, this branch):
cd pkgs/fleet && cargo test -p fleet-dispatch probe_dechunked_len_huge_chunk_size— 1 passed, 0 failed.Closed PR #7524 was not reopened and its archive branch was not recreated; it remains the preservation record and diff source.
Refs #7297, #6512
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.